package com.miya.demo.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Configuration
@ConfigurationProperties(prefix = "map")
@Data
public class MapConfig {

    /**
     * 高德地图 key
     */
    private String gaodeKey;

    /**
     * 百度地图 key
     */
    private String baiduKey;
}
